use(["public/javascripts/service/service_gSeaShippingService.js"], function(service_gSeaShippingService) {
    var PageComponent = React.createClass({
        componentDidMount: function() {
            $('a.list-link').click(function () {
                console.log('hihhi')
                var hash = $(this).attr('href');
                console.log(hash,'hash')
                if (hash) {
                    var scrollTo = $(hash).offset().top;

                    $('body,html').animate({scrollTop: scrollTo}, 500);
                }
            });
        },
        receiveMsg: function(data) {

        },
        getInitialState: function () {
            return this.props ? this.props : {};
        },
        render:function() {
            var data = this.state.data;
            return ~init;
        }
    });
    if(typeof ReactDOM != "undefined") {
        ReactDOM.render(<PageComponent data={storage}/>, document.getElementById('container'));
    }
    module.exports = PageComponent;
});